<!--
 * @Author: WangGuojian 1085844536@qq.com
 * @Date: 2024-06-27 22:05:12
 * @LastEditTime: 2024-06-27 22:06:21
 * @LastEditors: WangGuojian 1085844536@qq.com
 * @FilePath: \html\code\2_CSS\06_复合选择器\13_伪类选择器_UI伪类.html
 * @Description:
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>伪类选择器_UI伪类</title>
    <style>
        input:checked {
            width: 100px;
            height: 100px;
        }

        input:disabled {
            background-color: gray;
        }

        input:enabled {
            background-color: green;
        }
    </style>
</head>

<body>
    <input type="checkbox">
    <input type="radio" name="gender">
    <input type="radio" name="gender">
    <input type="text">
    <input type="text" disabled>
</body>

</html>